export function setRem() {
  function rem() {
    const baseSize = 200
    const scale = document.documentElement.clientWidth / 750
    document.documentElement.style.fontSize = baseSize * Math.min(scale, 2) + 'px'
  }
  rem()
  window.onresize = function() {
    rem()
  }
}
